package com.example.springpeizhi.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
@ConfigurationProperties("student")
@Data
@Component
public class Student {
    private String name;
    private int age;
    private int id;
}
